{% extends "zerver/emails/compiled/email_base_default.html" %}

{% block illustration %}
<img src="{{ email_images_base_uri }}/email_logo.png" alt=""/>
{% endblock %}

{% block content %}
<p>{{ _('Welcome to Zulip!') }}</p>

<p>
    {% if realm_creation %}
        {% if is_demo_org %}
            {% trans %}You've created a demo Zulip organization. Note that this organization will be automatically deleted in 30 days. Learn more about demo organizations <a href="https://zulip.com/help/demo-organizations">here</a>!{% endtrans %}
        {% else %}
            {% trans %}You've created the new Zulip organization <b>{{ realm_name }}</b>.{% endtrans %}
        {% endif %}
    {% else %}
        {% trans %}You've joined the Zulip organization <b>{{ realm_name }}</b>.{% endtrans %}
    {% endif %}
</p>

<p>
    {{ _('Your account details:') }}
    <ul>
        <li>{% trans organization_url=macros.link_tag(realm_uri) %}Organization URL: {{ organization_url }}{% endtrans %}<br /></li>
        {% if ldap %}
            {% if ldap_username %}
            <li>{% trans %}Username: {{ ldap_username }}{% endtrans %}<br /></li>
            {% else %}
            <li>{{ _('Use your LDAP account to log in') }}<br /></li>
            {% endif %}
        {% else %}
            <li>{% trans email=macros.email_tag(email) %}Email: {{ email }}{% endtrans %}<br /></li>
        {% endif %}
    </ul>
    {% trans apps_page_link="https://zulip.com/apps" %}(you'll need these to sign in to the <a href="{{ apps_page_link }}">mobile and desktop</a> apps){% endtrans %}
</p>

<p>
    {% if is_realm_admin %}
        {% trans %}Check out our <a href="{{ getting_started_link }}">guide for admins</a>, become a Zulip pro with a few <a href="{{ keyboard_shortcuts_link }}">keyboard shortcuts</a>, or <a href="{{ realm_uri }}">dive right in</a>!{% endtrans %}
    {% else %}
        {% trans %}<a href="{{ getting_started_link }}">Learn more</a> about Zulip, become a pro with a few <a href="{{ keyboard_shortcuts_link }}">keyboard shortcuts</a>, or <a href="{{ realm_uri }}">dive right in</a>!{% endtrans %}
    {% endif %}
</p>

<p>
    {{ _("Cheers,") }}<br />
    {{ _("Team Zulip") }}
</p>

<p>
    {% trans %}PS: Follow us on <a href="https://twitter.com/zulip">Twitter</a>, star us on <a href="https://github.com/zulip/zulip">GitHub</a>, or chat with us live on the <a href="https://zulip.com/developer-community/">Zulip community server</a>!{% endtrans %}
</p>
{% endblock %}
